<%-- 
    Document   : alumnoinfocurso
    Created on : 16-nov-2010, 9:41:54
    Author     : Victor y Karmele
--%>


<%@page import="com.ipartek.formacion.gestformwww.controlador.Verificador"%>
<%@page import="com.ipartek.formacion.gestformwww.modelo.beans.AlumCurso"%>
<div id="submenu">
<ul>
        <li>
            <a href="javascript:void(1);" onclick="javascript:if(validarFormModificarInfoCurso(document.infocurso)){document.infocurso.submit()}">Guardar cambios</a>
        </li>

</ul>
</div>
<form action="modificar-infocurso-accion.do" name="infocurso" method="POST">
                <input type="hidden" name="aleatorioModificarInfo" value="<%=Math.random()%>" />
                <input type="hidden" name="idPestanaAlumno" value="3" />
                <input type="hidden" name="idCurso" value="<%=request.getParameter("idCurso")%>" />
                <input type="hidden" name="idAlumno" value="<%=request.getParameter("idAlumno")%>" />
    <table>
        <tbody>
            <%AlumCurso alumCurso = (AlumCurso)request.getAttribute("alumCurso");
             if(alumCurso==null){
                alumCurso=new AlumCurso();
                }%>
            <tr>
                <td><input type="checkbox" name="terminado" value="true" <%if(alumCurso.isTerminado()){%> checked <%}%> /> Ha terminado el curso</td>
                <td>&Uacute;ltimo d&iacute;a de clase:</td>
                <td><input type="text" name="fchUltiCla" onClick="popUpCalendar(this,infocurso.fchUltiCla,'dd/mm/yyyy');" value="<%=Verificador.comprobar(alumCurso.getFchUltiCla())%>" readonly/></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="practicas" value="true" <%if(alumCurso.isPracticas()){%> checked <%}%>/> Coger en pr&aacute;cticas</td>
                <td>Valoraci&oacute;n final:</td>
                <td><input type="text" name="valFinal" value="<%=Verificador.comprobar(alumCurso.getValFinal()) %>" /></td>
            </tr>
            <tr>
                <td><input type="checkbox" name="reserva" value="true" <%if(alumCurso.isReserva()){%> checked <%}%>/> Reserva</td>
                <td>Orden de reserva:</td>
                <td><input type="text" name="orden" value="<%=Verificador.comprobar(alumCurso.getOrden()) %>" /></td>
            </tr>
            <tr>
                <td>Avisos:</td>
                <td colspan="2"><textarea name="avisos" rows="4" cols="20"><%=Verificador.comprobar(alumCurso.getAvisos() )%></textarea></td>
            <tr>
                <td>Comentarios:</td>
                <td colspan="2"><textarea name="observaciones" rows="4" cols="20"><%=Verificador.comprobar(alumCurso.getObservaciones() )%></textarea></td>
            </tr>
        </tbody>
    </table>

</form>
